#ifndef 	__DEF_H__
#define		__DEF_H__


#include "stm32f10x.h"

typedef bool BOOL;

typedef unsigned char  BYTE;
typedef unsigned int   UINT;
typedef unsigned short WORD;
typedef unsigned short UINT16;
typedef unsigned int  UINT32;
typedef unsigned int  DWORD;
typedef unsigned int  ULONG;

typedef unsigned char  U8;
typedef unsigned char  u8;
typedef unsigned short U16;
typedef unsigned short u16;
typedef unsigned int  U32;
typedef unsigned int  u32;

typedef unsigned char  Uint8;
typedef unsigned short Uint16;
typedef unsigned int  Uint32;

typedef unsigned char  uint8;
typedef unsigned short uint16;
typedef unsigned int  uint32;

typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;

extern void EIC_IRQ_EnableINT_All(void) ;
extern void EIC_IRQ_DisableINT_All(void);

#define	 _DI()  EIC_IRQ_DisableINT_All()
#define  _EI()  EIC_IRQ_EnableINT_All()













#endif

